import request from '@/utils/request';
import {AxiosPromise} from 'axios';
import {BusinessVO} from '@/api/largeScreen/types';
/**
 * 查询业务参数配置列表
 * @param query
 * @returns {*}
 */
export const getByKeyApi = (configKey?: string): AxiosPromise<BusinessVO[]> => {
  return request({
    url: '/business/business/getByKey',
    method: 'get',
    params: {configKey}
  });
};
